package factory

import (
	"testCode/excel_export/internal/excel"
	"testCode/excel_export/internal/excel/strategy"
)

func NewStyleStrategy(exportType string) excel.StyleStrategy {
	switch exportType {
	case "colorful":
		return &strategy.ColorfulStyleStrategy{}
	default:
		return &strategy.DefaultStyleStrategy{}
	}
}
